﻿<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<title>审核</title>
		<link rel="stylesheet" href="css_js/css/bootstrap.min.css" />
		<link rel="stylesheet" href="dist/css/check.css" />
		<link rel="stylesheet" href="dist/css/common.css" />
		<link rel="stylesheet" href="dist/css/model.css" />
		<link rel="stylesheet" href="css_js/layui/css/layui.css" />
	</head>
	<body ng-app="App" ng-controller="checkCtrl">
		<div class="bg_color">
			<nav class="navbar text-center">
				<div class="nav_body">
					<img ng-click="go_back()" class="btn_top_left" src="dist/images/point/left.png">
					<span class="tit_title">审&nbsp;核</span>
				</div>
			</nav>
			<section>
				<div>
			        <ul class="info_mul">
			        	<li ng-repeat="obj in constList">
							<div class="sub_daily">
								<ul class="ul_list">
									<li>
										<ul class="clearfix sub_ul">
											<li class="pull-left">
												<img ng-click="show_image(obj)" class="img_url" ng-src="{{obj.file_url}}" alt="">
											</li>
                                            <li class="pull-left padding_left">
                                                <span class="device_font">日志名称：</span>
                                            </li>
											<li class="fix_height">
												<span class="device_des">{{obj.title}}</span>
											</li>
                                            <li class="pull-left padding_left">
                                                <span class="device_font">描述：</span>
                                            </li>
											<li class="fix_height">
												<span class="device_des">{{obj.content}}</span>
											</li>
										</ul>
									</li>
								</ul>
							</div>
							<div class="sub_last_div clearfix">
								<div class="form-group pull-right">
									<button ng-click="passOrRefuse(obj)" class="pass pass{{obj.id}}" style="background-color:{{obj.col}}">{{obj.pass}}</button>
								</div>
							</div>
						</li>
			        </ul>
			    </div>
			    <!-- editbox start-->
				<div class="modal fade" id="editbox" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
				    <div class="modal-dialog modal_dialog">
				        <div class="modal-content">
				            <div class="modal-header">
				                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button> 
				            </div>
				            <div class="modal-body">
				                <form class="form-horizontal"> 
				                    <div class="form-group">
				                        <label class="bold_label control-label col-xs-4">审核状态</label>
				                        <select ng-model="editobj.statue" class="form-control">
                                            <option value="agree">通过</option>
                                            <option value="disagree">不通过</option>
	                              		</select>
				                    </div> 
                                   
				                </form>
				            </div>
				            <div class="modal-footer modal_footer">
				                <button type="button" class="submit_btn pass_green bold_label" ng-click="sure_edit()">确定</button>
				            </div>
				        </div>
				    </div>
				</div>
    			<!-- editbox end-->
				<!-- imgbox start-->
				<div class="modal fade" id="imgbox" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
				    <div class="modal-dialog modal_show">
				        <div class="modal-content modal_content"> 
				            <div class="modal-body modal_body">
				                <img ng-click="hide_image(obj)" class="imgbig" ng-src="{{imgbig.file_url}}" alt="" />
				            </div> 
				        </div>
				    </div>
				</div>
	    		<!-- imgbox end-->
                <!-- btn_info start-->
                <div class="modal fade" id="btn_info" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                    <div class="modal-dialog modal_dialog">
                        <div class="modal-content">
                            <div class="modal-header">
                                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                            </div>
                            <div class="modal-body">
                                <h5>此日志已审批通过，不需要再次审批了</h5>
                            </div>
                            <div class="modal-footer modal_footer">
                                <button class="submit_btn pass_green bold_label modal_btn" data-dismiss="modal">确定</button>
                            </div>
                        </div>
                    </div>
                </div>
                <!-- btn_info end-->
			</section>
		</div>
		<script src="css_js/js/jquery.min.js"></script>
        <script src="css_js/js/angular.min.js"></script>
        <script src="css_js/js/angular-cookies.min.js"></script>
		<script src="css_js/js/bootstrap.min.js"></script>
		<script src="css_js/js/moment.min.js"></script>
        <script src="dist/controller/config.js"></script>
		<script src="dist/controller/checkCtrl.js"></script>
		<script src="css_js/layui/layui.all.js"></script>
	</body>
</html>